Skip to content

Conversation

@Andriamanitra
Copy link
Contributor

Continuing work started in #3656, apparently that one got closed due to the author's account getting deleted

@Andriamanitra
Copy link
Contributor Author

@JoeKar wrote:

Am I right, that we execute on a pure default setup every available linter per filetype match in a row?

Should we add a check to stop after the first successful execution and on top of that should we add a priority for more than one available linter in the default list/map?

No – it is useful to get diagnostics from multiple linters. Especially in Python the linters address different things, for example mypy only checks types, flake8 is (mostly) focused on code formatting, and pylint does some semantic analysis as well. ruff attempts to combine most of the above in one tool, but mypy still does much more thorough job at type checking.

@JoeKar
Copy link
Collaborator

JoeKar commented Feb 8, 2025

No – it is useful to get diagnostics from multiple linters.

Ok, then I'm fine with it.
The doc wars tricky to compare against the initialization list due to the different order, but seems to fit. Thanks for updating it.

@JoeKar JoeKar merged commit bf4156c into zyedidia:master Feb 8, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants